var server_host = "http://127.0.0.1:8888";
(function(){
    console.log(location.host)
    var css = document.createElement('link')
    css.href= server_host + "/css/plus.css"
    css.rel="stylesheet"
    css.type="text/css"
    document.head.appendChild(css)


    var host = window.location.host;
    var f1=document.createElement('script');
    if (host === "r.ele.me"){
        var f=document.createElement('script');
        f.src = server_host + '/js/jquery-2.1.3.min.js';
        document.body.appendChild(f);

        f1.src=server_host + '/js/eleme-plus.js';
        document.body.appendChild(f1);
    }

    else if(host === "waimai.baidu.com"){

        f1.src=server_host + "/js/baidu-plus.js";
        document.body.appendChild(f1);
    }
    window['ele.mei'] = true

})();

//(function () {
//    if(window['ele.mei'] != true){
//        f();
//    }
//    else{
//        changeMenuName();
//    }
//
//})();
